#ifndef SOURCETRACERAY_CORE_HPP
#define SOURCETRACERAY_CORE_HPP
#include "library.h"
#include "Offsets.h"
#include "modules/TraceRay.hpp"

// Globals
HWND g_gameHwnd = nullptr;              // 游戏窗口句柄
DWORD hEngineDll = 0;                   // engine.dll
DWORD hClientDll = 0;                   // client.dll

void WINAPI InitializeData() {

    // 取游戏窗口
    g_gameHwnd = FindWindowA("Valve001", "Counter-Strike: Global Offensive - Direct3D 9");

    // DLLs
    hEngineDll = reinterpret_cast<DWORD>(GetModuleHandleA("engine.dll"));
    hClientDll = reinterpret_cast<DWORD>(GetModuleHandleA("client.dll"));

}

void WINAPI UpdateData() {


}

#endif //SOURCETRACERAY_CORE_HPP
